﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Big2.Big2Game;

namespace Big2.Big2WcfService
{
    public class ListHelper
    {
        public static Player FindPlayerByName(List<Player> players, string nameToFind)
        {
            foreach (Player p in players)
                if (p.Name == nameToFind)
                    return p;
            return null;
        }
    }
}
